public class FilterResult {
    public boolean isIncluded;// 是否在收录范围内
    public boolean[] vocals;
    public boolean isVocaloid;
    public boolean isSyntheresizerV;
    public boolean belongsToVsinger;
    public boolean belongsToMedium5;

    public FilterResult() {
        isIncluded = false;
        isVocaloid = false;
        isSyntheresizerV = false;
        vocals = new boolean[Filter.VOCALS.length];
    }

    public void calc() {
        isVocaloid = vocals[0] || vocals[1] || vocals[2] || vocals[3] || vocals[4] || vocals[5]
                    || vocals[6] || vocals[14] || vocals[15] || vocals[16] || vocals[17];
        isSyntheresizerV = vocals[7] || vocals[8] || vocals[9] || vocals[10] || vocals[11] || vocals[12] || vocals[13];
        belongsToVsinger = vocals[0] || vocals[1] || vocals[2] || vocals[3] || vocals[4] || vocals[5];
        belongsToMedium5 = vocals[6] || vocals[7] || vocals[8] || vocals[9] || vocals[10] || vocals[11];

        // 二者取并集
        isIncluded = isVocaloid || isSyntheresizerV;
    }
}
/*
 * 0洛天依     1言和     2乐正绫    3乐正龙牙   4徵羽摩柯   5墨清弦
 * 6星尘       7海伊     8苍穹      9赤羽      10诗岸     11星尘minus
 * 12牧心     13艾可
 * 14心华     15悦成    16章楚楚
 * 17初音未来
 */
